package com.project.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.text.SimpleDateFormat;
import java.util.Date;

@Data
@TableName("t_user")
public class UserBean {
    @TableId(value = "pk_userId",type = IdType.AUTO)
    private Integer id;

    @TableField("u_userName")
    private String userName;

    @TableField("u_password")
    private String password;

    @TableField("u_img")
    private String img = "/path/to/user.jpg";

    @TableField("fk_newId")
    private Integer newId;

}
